home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / ronset21.zip / POLL.BAT < prev    next >
DOS Batch File  |  1990-02-06  |  635b  |  21 lines

  1. @Echo Off
  2. Rem Poll a node
  3. Rem Written by Ron Bemis for distribution with RONSET
  4. Set X=
  5. If Not "%2" == "" Goto GotName
  6. If Not "%1" == "" Goto GotAddr
  7. RonSet X=concat(hex(string(Net:,5)),hex(string(Node:,5)))
  8. Goto Poll
  9. :GotAddr
  10. RonSet X=concat(hex(net(%1)),hex(node(%1)))
  11. Goto Poll
  12. :GotName
  13. RonSet X=concat(hex(net(lookup(%1 %2))),hex(node(lookup(%1 %2))))
  14. :Poll
  15. If "%X%" == "" Goto Exit
  16. REM ****************************************************************
  17. REM *  Change the next line as needed to match your outbound area  *
  18. REM ****************************************************************
  19. Rem>>Q:\%X%.DLO
  20. :Exit
  21.